package com.test.common.entity.perf;

import lombok.Data;

@Data
public class PerfAgentCacheInfo {
    private String[] processList = new String[0];
    private double cpuFree = 0.0;
    private double memFree = 0.0;
    private double netIn = 0.0;
    private double netOut = 0.0;

    public PerfAgentCacheInfo() {
    }

    public PerfAgentCacheInfo(String[] processList) {
        this.processList = processList;
    }

    public PerfAgentCacheInfo(String[] processList, double cpuFree, double memFree, double netIn, double netOut) {
        this.processList = processList;
        this.cpuFree = cpuFree;
        this.memFree = memFree;
        this.netIn = netIn;
        this.netOut = netOut;
    }
}
